<?php
namespace app\common\validate;
use think\Validate;
class Ems extends Validate{
    protected $rule = [
        'event' => ['require'],
        'email' => ['require'],
        'code'=>['require'],
    ];

    // 错误提示信息
    protected $message = [
        'event.require' => '验证事件必填',
        'email.require' => '验证邮箱号必填',
        'code.require' => '验证码必填'
    ];
}